<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
        <link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css"/>
        <title>Tane - Hide Delegate - Future Work</title>
    </head>
    <body>
    	<h1>Hide Delegate - Future Work</h1>
		<p>These may or may not get done as time and interest permits:</p>
		<ul>
			<li>Suggest a method name in the wizard.</li>
			<li>Guess parameter names in the wizard.</li>
			<li>Allow editing of parameter names in the wizard.</li>
			<li>Detect if an existing method's signature will clash with the new method's signature in the receiver.</li>
			<li>Automatically apply the refactoring recursively.</li>
			<li>Recognise when a parameter is an expression with the same receiver as the selected expression and
				avoid passing it as a parameter to the method created during refactoring. Instead, evaluate the expression
				inside the new method. <i>e.g.</i> currently, <span class="code">foo.getBar().doSomething(foo.getBaz())</span>
				will be refactored to <span class="code">foo.doSomething(foo.getBaz())</span>. It should instead be refactored to
				<span class="code">foo.doSomething()</span> and the implementation of Foo.doSomething() should look like
				<span class="code">getBar().doSomething(getBaz())</span>.</li>
		</ul>
		<p>If you are interested in helping with any of these (or with other enhancements or new refactorings), please
			<a href="http://groups.google.com/group/tane-eclipse-refactorings" title="Tane's Google Group">get in touch</a>.</p>
			
		<hr/>
    	<div class="attribution">
    		This plugin is provided by <a href="http://www.stateofflow.com" title="State Of Flow homepage">State Of Flow</a>
    	</div>
    </body>
</html>